<div class="toolbar">
	<a href="/"><?php text( 'Start' ) ?></a>
	<?php 
	if(is_null(App::$Current->User))
	/*
	 * if not logged in
	 * - show link to signup
	 * - show link to login
	 */
	{
		?>
		<a href="/login"><?php text( 'Login' ) ?></a>
		<a href="/signup"><?php text( 'Signup' ) ?></a>
		<?php 
	}
	else 
	/*
	 * if logged in
	 * - show link to account settings
	 * - show link to logout
	 */
	{
		?>
		<a href="/user/<?php print App::$Current->User ?>"><?php print App::$Current->User ?></a>
		<a href="/accountsettings"><?php text( 'Settings' ) ?></a>
		<a href="/logout"><?php text( 'Logout' ) ?></a>
		<?php 
	}
	?>
</div>